package com.lxyk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * @ClassName AccountMapper
 * @Description TODO
 * @Author FJQ
 * @Date 2022/11/30 16:33
 * @Version 1.0
 **/
@Mapper
@Repository
public interface AccountMapper {
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);
}
